From: | Neil Bothwick |
Date: | 4 May 2001 at 20:52:34 |
Subject: | Re: Yam speeds |
Andrew Crowe said,
> It happens because of the way email works:
> Download message
> Stop downloading message
> Write to disk
> There isn't really any way round that I'm afraid, except a faster
> CPU/Hard drive to speed up saving them
There are ways around it, such as the batch download method that THOR
uses.
Send 16 RETR commands, spooling the data to a buffer
Send 16 DELE commands and spool the buffer to disk while waiting for the response
Repeat
Then import the mails from the disk file, performing any filtering that
may be needed (filters can slow down import on any mail program).
it's significantly faster, but has the disadvantage that you can't read
any of the mails until the whole lot have been downloaded.
The speedup when using this method for news is even greater because
THOR opens multiple connections to the server. When download pauses, the
other take up the slack. It means news can download at up to 10K/s on a
56K modem. Most POP3 servers don't allow multiple connections to the
same mailbox, otherwise it would be possible to saturate the connection
for mail downloads too.
Cheers
Neil
Penis Envy is a total Phallusy.
Quote carefully and read all ADMIN:README mails
Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/